package com.ekuaitu.kuaitu.bean;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by user1 on 2017/5/16.
 */

public class AdTopBean {


    /**
     * status : 200
     * message : 成功
     * debug : null
     * attachment : {"messageList":[{"id":73,"title":"恭喜您获得1张2小时免费的汽车体验券，快来领取吧","content":"恭喜您获得1张2小时免费的汽车体验券，快来领取吧","messageType":4,"additional":"https://ekuaitu.com/h5/app/carActive/carActive.html","status":0,"createTime":1495097028000,"parkModel":{"id":"32","availableCar":"0","areaName":"魏公村地铁B口出门直行100米","longitude":"116.3239756963","latitude":"39.9591857353","locationName":"寰太大厦"}},{"id":72,"title":"有车提醒","content":"附近有车了，手慢无！手慢无！手慢无！！！","messageType":3,"additional":"32","status":0,"createTime":1495095657000,"parkModel":{"id":"32","availableCar":"0","areaName":"魏公村地铁B口出门直行100米","longitude":"116.3239756963","latitude":"39.9591857353","locationName":"寰太大厦"}}]}
     */

    @SerializedName("status")
    private String status;
    @SerializedName("message")
    private String message;
    @SerializedName("debug")
    private Object debug;
    @SerializedName("attachment")
    private AttachmentBean attachment;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getDebug() {
        return debug;
    }

    public void setDebug(Object debug) {
        this.debug = debug;
    }

    public AttachmentBean getAttachment() {
        return attachment;
    }

    public void setAttachment(AttachmentBean attachment) {
        this.attachment = attachment;
    }

    public static class AttachmentBean {
        @SerializedName("messageList")
        private List<MessageListBean> messageList;

        public List<MessageListBean> getMessageList() {
            return messageList;
        }

        public void setMessageList(List<MessageListBean> messageList) {
            this.messageList = messageList;
        }

        public static class MessageListBean {
            /**
             * id : 73
             * title : 恭喜您获得1张2小时免费的汽车体验券，快来领取吧
             * content : 恭喜您获得1张2小时免费的汽车体验券，快来领取吧
             * messageType : 4
             * additional : https://ekuaitu.com/h5/app/carActive/carActive.html
             * status : 0
             * createTime : 1495097028000
             * parkModel : {"id":"32","availableCar":"0","areaName":"魏公村地铁B口出门直行100米","longitude":"116.3239756963","latitude":"39.9591857353","locationName":"寰太大厦"}
             */

            @SerializedName("id")
            private String id;
            @SerializedName("title")
            private String title;
            @SerializedName("content")
            private String content;
            @SerializedName("messageType")
            private String messageType;
            @SerializedName("additional")
            private String additional;
            @SerializedName("status")
            private String status;
            @SerializedName("createTime")
            private String createTime;
            @SerializedName("parkModel")
            private ParkModelBean parkModel;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getMessageType() {
                return messageType;
            }

            public void setMessageType(String messageType) {
                this.messageType = messageType;
            }

            public String getAdditional() {
                return additional;
            }

            public void setAdditional(String additional) {
                this.additional = additional;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public ParkModelBean getParkModel() {
                return parkModel;
            }

            public void setParkModel(ParkModelBean parkModel) {
                this.parkModel = parkModel;
            }

            public static class ParkModelBean {
                /**
                 * id : 32
                 * availableCar : 0
                 * areaName : 魏公村地铁B口出门直行100米
                 * longitude : 116.3239756963
                 * latitude : 39.9591857353
                 * locationName : 寰太大厦
                 */

                @SerializedName("id")
                private String id;
                @SerializedName("availableCar")
                private String availableCar;
                @SerializedName("areaName")
                private String areaName;
                @SerializedName("longitude")
                private String longitude;
                @SerializedName("latitude")
                private String latitude;
                @SerializedName("locationName")
                private String locationName;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getAvailableCar() {
                    return availableCar;
                }

                public void setAvailableCar(String availableCar) {
                    this.availableCar = availableCar;
                }

                public String getAreaName() {
                    return areaName;
                }

                public void setAreaName(String areaName) {
                    this.areaName = areaName;
                }

                public String getLongitude() {
                    return longitude;
                }

                public void setLongitude(String longitude) {
                    this.longitude = longitude;
                }

                public String getLatitude() {
                    return latitude;
                }

                public void setLatitude(String latitude) {
                    this.latitude = latitude;
                }

                public String getLocationName() {
                    return locationName;
                }

                public void setLocationName(String locationName) {
                    this.locationName = locationName;
                }
            }
        }
    }
}
